const express = require('express');
const body =  require('body-parser');
const server = express()
const router =  require('C:\\www\\2302\\day36\\跨域\\server2\\router');

server.use('/static',express.static('./static'))
server.use(body({extended:false}));
server.use(body.json());

server.use('/api',router)

server.listen(9090,()=>{
    console.log('我是9000 来自server2')
})